package com.ymtms.applicationsystem.pojo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class Wage {
    private Integer wid;

    @NotBlank(message = "职员编号不能为空")
    private String employeeCode;

    @NotBlank(message = "职员姓名不能为空")
    private String employeeName;

    @NotNull(message = "基本工资不能为空")
    private Long basicWage;

    @NotNull(message = "岗位工资不能为空")
    private Long stationWage;

    @NotNull(message = "津贴不能为空")
    private Long allowance;

    @NotNull(message = "日期不能为空!")
    private Date payoffDate;

    private Integer flag;

}